From fdf78dd5bf25f345cc8419cc547cdbafaf54ae86 Mon Sep 17 00:00:00 2001
From: vnugent <public@vaughnnugent.com>
Date: Sat, 11 Nov 2023 00:52:57 -0500
Subject: switch default api path, reduce bundle size, and swtich to async
 components

---
 front-end/src/views/Account/[comp].vue | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'front-end/src/views/Account/[comp].vue')

diff --git a/front-end/src/views/Account/[comp].vue b/front-end/src/views/Account/[comp].vue
index 9e6343d..d854e2e 100644
--- a/front-end/src/views/Account/[comp].vue
+++ b/front-end/src/views/Account/[comp].vue
@@ -58,10 +58,8 @@ const comp = useRouteParams<ComponentType>('comp')
 
 const tabId = computed<number>(() =>{
    switch (comp.value) {
-    case ComponentType.Oauth:
-      return 1
     case ComponentType.Settings:
-      return 2
+      return 1
     case ComponentType.Profile:
     default:
       return 0
@@ -71,9 +69,6 @@ const tabId = computed<number>(() =>{
 const onTabChange = (tabid : number) =>{
   switch (tabid) {
     case 1:
-      comp.value = ComponentType.Oauth
-      break
-    case 2:
       comp.value = ComponentType.Settings
       break
     case 0:
-- 
cgit 

